<html>
<head>
</head>
<body style="background:white;">
<?php
function adir($path){
  $res = "";
  foreach(glob($path.'/*.png') as $f) {
    $res.=basename($f,".png").'<br /><img src="'.htmlentities(str_replace('\\','/',$f),ENT_QUOTES,'utf-8').'" /><br />';
  }
  return $res;
}
echo adir("design");
?>
</select>
</body>
</html>